package com.example.demo.service;

import com.example.demo.entity.Comment;

import java.util.List;

public interface CommentService {

    public void insertComment(Comment comment);

    public List<Comment> selectCommentByStoreId(int storeId);

    public List<Comment> selectCommentByBookId(int bookId);

    public int deleteByCommentId(int commentId);


    public Comment selectByCommentId(int commentId);

    public int updateComment(Comment comment);

}
